//feeds.js contains all the feeds to be displayed

var Feeds = Class.create({
	defaultList: [
	{
		title: "New York Times",
		url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml",
		type: "rss",
		numUnRead: 4,
		
		stories: [
		{
			title: "Obama warns of Prospect for Trillion-Dollar Deficits",
			text: "Barack Obama delivered a stark assessment of the economy, saying that his administration would be forced to impose tighter discipline on government.",
			unReadStyle: "unReadStyle",
			url: "http://www.nytimes.com/2009/01/07/world/asia/07india.html?_r=1&partner=rss&emc=rss"
		},
		{
			title: "Hundreds of Coal Ash Dumps Lack Regulation",
			text: "Most of the coal byproduct dumps across the United States are unregulated, although they contain chemicals considered as threats to human health.",
			unReadStyle: "unReadStyle",
			url: "http://www.nytimes.com/2009/01/06/world/asia/06iqbal.html?partner=rss&emc=rss"
		},
		{
			title: "Gazprom Dispute Entangles Europe",
			text: "Russia's gas price dispute with Ukraine escalated, disrupting deliveries to the European Union in the midst of a bitter cold spell.",
			unReadStyle: "unReadStyle",
			url: "http://www.nytimes.com/2009/01/07/world/europe/07gazprom.html?partner=rss&emc=rss"
		},
		{
			title: "Green Inc.: Cities Target Lending to Speed Energy Projects",
			text: "A number of municipalities across the country are getting creative and experimenting with incremental, neighborhood- or district-based lending programs that help homeowners pay the up-front capital costs for efficiency or renewable energy projects.",
			unReadStyle: "unReadStyle",
			url: "http://greeninc.blogs.nytimes.com/2009/01/06/cities-use-creative-targeted-lending-to-speed-energy-projects/ ?partner=rss&emc=rss"
		}
		]
	}
	],
	
	initialize: function() {
		this.list = this.getDefaultList();
	},
	
	getDefaultList: function() {
		var returnList = [];
		for (var i = 0; i < this.defaultList.length; i++) {
			returnList[i] = this.defaultList[i];
		}
		return returnList;
	}
});
